//
//  Reg.swift
//  Pods
//
//  Created by ogawa on 2020/5/11.
//  Copyright © 2020 ogawa. All rights reserved.
//

import Foundation
import SwiftyJSON

public class Reg: YPModelProtocol {
    var status: Int!
    var message:String!
    var data: JSON
    required public init?(json:JSON){
        self.status = json[YPNetWorkCore.statusKey].intValue
        self.data = json[YPNetWorkCore.dataKey]
        self.message = json["message"].stringValue
    }
    
}
